package com.bckj.fastboot.iot.api.service;

import com.bckj.fastboot.core.lang.model.PageResult;
import com.bckj.fastboot.iot.common.dto.query.IotAlarmDataQuery;
import com.bckj.fastboot.iot.common.dto.response.IotAlarmDataResponse;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * IotAlarmDataRemoteService
 *
 * @author wfc
 * @date 2025/10/31 17:54
 **/
public interface IotAlarmDataRemoteService {

    @GetMapping("/{id}")
    IotAlarmDataResponse details(@PathVariable Long id);

    @GetMapping("/page")
    PageResult<IotAlarmDataResponse> page(@SpringQueryMap IotAlarmDataQuery query);
}
